package com.ncd.disease.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ncd.disease.domain.RetAdmInfo;
import com.ncd.disease.mapper.RetAdmInfoMapper;
import com.ncd.disease.service.IRetAdmInfoService;
import org.springframework.stereotype.Service;

/**
 * 
 * @author zhouxin
 * @date 2024-03-10
 */
@Service
public class RetAdmInfoServiceImpl extends ServiceImpl<RetAdmInfoMapper, RetAdmInfo> implements IRetAdmInfoService
{

    @Override
    public RetAdmInfo selectRetAdmInfoByAdmId(Long admId) {
        return this.getOne(new LambdaQueryWrapper<>(RetAdmInfo.class).eq(RetAdmInfo::getRaiAdmId,admId));
    }
}
